﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace SYH.Public.BLL
{
    public class PublicImageData
    {
        private static readonly DAL.PublicImageData Dal = new DAL.PublicImageData();

        #region 返回DataId的图片
        /// <summary>
        /// 返回DataId的图片
        /// </summary>
        /// <param name="dataId"></param>
        /// <param name="dataType"></param>
        /// <returns></returns>
        public static DataTable GetUserImgList(int dataId, int dataType)
        {
            return Dal.GetUserImgList(dataId, dataType);
        }
        #endregion

        #region 根据Id删除图片
        /// <summary>
        /// 根据Id删除图片
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        public static bool Delete(int Id)
        {
            return Dal.Delete(Id);
        }
        #endregion
    }
}
